<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智慧配镜一体机 - 主页面</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .mockup {
            border: 2px solid #e5e7eb;
            border-radius: 1rem;
            overflow: hidden;
        }
        .tab-active {
            border-bottom: 2px solid #3b82f6;
            color: #3b82f6;
        }
    </style>
</head>
<body class="bg-gradient-to-br from-blue-50 to-blue-100 min-h-screen p-8">
    <div class="mockup w-[800px] h-[600px]">
        <div class="h-full flex flex-col glass-effect">
            <!-- 顶部导航 -->
            <div class="p-4 border-b border-gray-200">
                <div class="flex items-center justify-between">
                    <h1 class="text-2xl font-bold text-blue-800">智慧配镜</h1>
                    <div class="flex items-center space-x-4">
                        <button class="p-2 rounded-full hover:bg-gray-100">
                            <img src="https://unpkg.com/lucide-static@latest/icons/shopping-cart.svg" class="w-6 h-6">
                        </button>
                        <button class="p-2 rounded-full hover:bg-gray-100">
                            <img src="https://unpkg.com/lucide-static@latest/icons/user.svg" class="w-6 h-6">
                        </button>
                    </div>
                </div>
            </div>

            <!-- 标签页 -->
            <div class="flex border-b border-gray-200">
                <button class="flex-1 py-4 text-center font-medium tab-active">品牌分类</button>
                <button class="flex-1 py-4 text-center font-medium text-gray-500">训练工具</button>
                <button class="flex-1 py-4 text-center font-medium text-gray-500">配套产品</button>
            </div>

            <!-- 内容区域 -->
            <div class="flex-1 overflow-y-auto p-4">
                <!-- 品牌分类内容 -->
                <div class="grid grid-cols-2 gap-4">
                    <!-- 镜架卡片 -->
                    <div class="bg-white rounded-lg shadow-sm overflow-hidden">
                        <div class="h-40 bg-gray-100">
                            <img src="https://images.unsplash.com/photo-1511499767150-a48a237f0083" class="w-full h-full object-cover">
                        </div>
                        <div class="p-4">
                            <h3 class="font-medium text-gray-900">时尚金属镜架</h3>
                            <p class="text-sm text-gray-500">钛合金材质</p>
                            <div class="mt-2 flex items-center justify-between">
                                <span class="text-blue-600 font-medium">¥599</span>
                                <button class="px-3 py-1 bg-blue-100 text-blue-600 rounded-full text-sm hover:bg-blue-200">
                                    加入购物车
                                </button>
                            </div>
                        </div>
                    </div>

                    <!-- 镜片卡片 -->
                    <div class="bg-white rounded-lg shadow-sm overflow-hidden">
                        <div class="h-40 bg-gray-100">
                            <img src="https://images.unsplash.com/photo-1588776814546-1ffcf47267a5" class="w-full h-full object-cover">
                        </div>
                        <div class="p-4">
                            <h3 class="font-medium text-gray-900">防蓝光镜片</h3>
                            <p class="text-sm text-gray-500">1.67折射率</p>
                            <div class="mt-2 flex items-center justify-between">
                                <span class="text-blue-600 font-medium">¥399</span>
                                <button class="px-3 py-1 bg-blue-100 text-blue-600 rounded-full text-sm hover:bg-blue-200">
                                    加入购物车
                                </button>
                            </div>
                        </div>
                    </div>

                    <!-- 更多产品卡片 -->
                    <div class="bg-white rounded-lg shadow-sm overflow-hidden">
                        <div class="h-40 bg-gray-100">
                            <img src="https://images.unsplash.com/photo-1572635196237-14b3f281503f" class="w-full h-full object-cover">
                        </div>
                        <div class="p-4">
                            <h3 class="font-medium text-gray-900">运动型镜架</h3>
                            <p class="text-sm text-gray-500">TR90材质</p>
                            <div class="mt-2 flex items-center justify-between">
                                <span class="text-blue-600 font-medium">¥459</span>
                                <button class="px-3 py-1 bg-blue-100 text-blue-600 rounded-full text-sm hover:bg-blue-200">
                                    加入购物车
                                </button>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white rounded-lg shadow-sm overflow-hidden">
                        <div class="h-40 bg-gray-100">
                            <img src="https://images.unsplash.com/photo-1571066811602-716837d681de" class="w-full h-full object-cover">
                        </div>
                        <div class="p-4">
                            <h3 class="font-medium text-gray-900">渐进多焦点镜片</h3>
                            <p class="text-sm text-gray-500">1.74折射率</p>
                            <div class="mt-2 flex items-center justify-between">
                                <span class="text-blue-600 font-medium">¥899</span>
                                <button class="px-3 py-1 bg-blue-100 text-blue-600 rounded-full text-sm hover:bg-blue-200">
                                    加入购物车
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 